package Extends.homeworkYuanZhu.com06;

public  class SonLikeDo implements IDadlikeDo ,IMonLikeDo {

    @Override
    public void ride() {
        System.out.println("读书");
    }

    @Override
    public void basketball() {
        System.out.println("玩球");
    }

    @Override
    public void sing() {
        System.out.println("唱歌");
    }

    @Override
    public void dance() {
        System.out.println("跳舞");
    }
    public void togou(){
        this.dance();
        this.ride();
        this.basketball();
        this.sing();
    }
}
